Add userClaim field to custom moderation request schema#3224
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can scan for known vulnerabilities in your dependencies using OSV Scanner.OSV Scanner will automatically detect and report security vulnerabilities in your project's dependencies. No additional configuration is required. |
Add userClaim as a string field to the message object in the custom moderation API request format, at the same level as text and metadata. https://claude.ai/code/session_01L4p6WChnatqPVHnQVH3kS5
4c04889 to
bf02eaa
Compare
Description
This PR updates the custom moderation request JSON schema documentation to include a new
userClaimfield. The field is added as an optional string parameter at the root level of the request object, alongside the existingheadersfield.This change documents a new capability in the custom moderation API that allows users to specify a user claim for moderation requests.
Checklist
https://claude.ai/code/session_01L4p6WChnatqPVHnQVH3kS5